package com.danielepelagatti.utils
{
	import mx.core.UIComponent;
	import flash.display.DisplayObjectContainer;
	/**
	 * 
	 * @author dpelagatti
	 * 
	 */	
	public class ReAddableView extends UIComponent
	{
		public var _view:UIComponent;
		public var _parent:DisplayObjectContainer;
		public var _parentIndex:int;
		public var _percentWidth:Number;
		public var _percentHeight:Number;
		public var _width:Number;
		public var _height:Number;
		
		public function reAdd():void
		{
			_parent.addChildAt(_view,_parentIndex);
		}
	}
}